// import { getFileUrl } from '@gis/lib/utils/file.js';

export function getMarkerLegendIcon(name, baseUrl) {
  if (!name) return '';
  return new URL(`../assets/marker-legend/map_bt_${name}_s.png`, baseUrl || import.meta.url).href;
  // return getFileUrl(`../assets/marker-legend/map_bt_${name}_s.png`);
}

export function getMarkerIcon(name, baseUrl) {
  if (!name) return '';
  return new URL(`../assets/marker/map_bt_${name}.png`, baseUrl || import.meta.url).href;
  // return getFileUrl(`../assets/marker/map_bt_${name}.png`);
}
